// 负责所有的公共组件的全局注册
import PageTools from './PageTools'
import UploadExcel from './UploadExcel'
import ImageUpload from './ImageUpload'
import Print from 'vue-print-nb'
import ScreenFull from './ScreenFull'
import ThemePicker from './ThemePicker'

export default {
  // 注册全局的通用栏组件对象
  install (Vue) {
    // 注册工具栏组件
    Vue.component('PageTools', PageTools)
    // 注册导入excel组件
    Vue.component('UploadExcel', UploadExcel)
    // 注册导入上传组件
    Vue.component('ImageUpload', ImageUpload)
    // 注册打印组件
    Vue.use(Print)
    // 注册全屏组件
    Vue.component('ScreenFull', ScreenFull)
    // 动态主题组件
    Vue.component('ThemePicker', ThemePicker)
  }
}
